home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0105.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  3.4 KB  |  99 lines

  1.  
  2. TO:  EVERYBODY!!
  3.  
  4.  
  5. On 13-Apr-97, Mike Hiltunen wrote:
  6.  
  7. >Let's say I have a screen using 320x256 pixels in PAL.
  8. >Now, everyone with a PAL screen would see the whole
  9. >screen display, but....
  10.  
  11. >If you have an NTSC screen, what would you see?
  12. >Would you loose some at the top and some at the bottom,
  13. >or would you just loose some at the bottom?
  14.  
  15.    PLEASE NOTE that the following info is based on my system. It
  16.    should be correct for ALL systems but, I cannot guarantee it.
  17.    Anyway, this is the basis for my NTSC-PAL support routines...
  18.  
  19.  
  20.    Generally speaking, your PAL screen will appear "lowered".  This
  21.    combined with the fact that NTSC cannot show the entire 256-
  22.    line PAL screen means you will indeed lose a good chunk of the
  23.    bottom.
  24.  
  25.  
  26.    I cannot give you an EXACT number of lines for a maximum NTSC
  27.    display as it depends on the monitor or television. For example,
  28.    my brother's television can display 228 lines at maximum while
  29.    my television can display 232 lines and my monitor (which is what
  30.    I now use) can handle 241 lines in NTSC.
  31.  
  32.    Theoretically, NTSC overscan should easily show 241 lines but 
  33.    this is for the Amiga's hardware and does not take into account
  34.    the actual viewing-device.
  35.  
  36.  
  37.    I have never heard from any PAL users so, actually I do not even
  38.    know if this looks fine to them or not so, bearing in my mind that
  39.    this is all based on theory this is how StarStrike2000 handles it...
  40.  
  41.         
  42. 1. First, I define maximum NTSC display at 239 lines and maximum 
  43.     PAL display at 252 lines (better to be on the safe-side and narrow
  44.     the differences). Please note that I am coming from the angle of
  45.     an NTSC-user offering PAL support. Certainly, use 256-pixels as
  46.     your PAL display size because you know it will work and exactly
  47.     where to position the screen!!
  48.  
  49. 2. Next, (and this does not pertain to NTSC support but, I figure I 
  50.      might as well cover everything at once) use
  51.      Default Palette 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 which will tell
  52.      AMOS to open it's screens with an all-black palette instead of 
  53.      the default-orange.
  54.  
  55. 3. The screen(s) are opened and immediately Flash Off and Curs Off
  56.      are used.  
  57.  
  58.      NOTE that the screen(s) are opened at their maximum size which
  59.      in this case is 16 lines for the Status-screen and 232 lines for the
  60.      Game-screen.
  61.  
  62.  
  63. 4.  Now, keep in mind that SS2000's in-game display uses two
  64.       screens (kind of like most other games). One for the Status-
  65.       Bar at the top and a second for the actual play-field, this is how
  66.       they are "centered" for PAL and NTSC...
  67.  
  68.       YOFFSET1=0 : YOFFSET2=0 : Rem Default for NTSC
  69.       If Not(NTSC) then YOFFSET1=7 : YOFFSET2=19 : Rem Pal Adjust.
  70.  
  71.       Screen Display STATUSSCREEN,128,34+YOFFSET1,,
  72.       Screen Display GAMESCREEN,128,40+YOFFSET2,,
  73.  
  74.       where the xx+YOFFSETx is the bit you're interested in.
  75.  
  76.  
  77.                    
  78.       
  79.       Again, I'm not saying this is THE way to handle it but, I hope it
  80.       helps...
  81.  
  82.  
  83.  
  84.  
  85.                      Garfield (Unlimited Design)
  86.  
  87.  
  88.  
  89.    BTW - If my games do NOT look right in a PAL display then I would
  90.                 certainly appreciate someone telling me.  So, if you think
  91.                 they should be moved up or down a bit then just let me 
  92.                 know and I will adjust my routines accordingly.
  93.  
  94.                                                                                                           THANKS!!
  95.  
  96.  
  97.  
  98.  
  99.